﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AVCare.LMS.Models;

namespace AVCare.LMS.DataAccess
{
    public interface IFileHelper : IHelper
    {
        List<Folder> GetFolders(Guid folderID);
        List<File> GetFiles(Guid folderID);
        Guid GetRoot(string userID);
        Guid GetParent(Guid folderID);
        File GetFile(Guid fileID);
        Folder GetFolder(Guid parentID, string path, string userID);
        Folder GetFolder(Guid folderID);
        List<Folder> GetShareFolder();
        void SaveFile(File file);
        void ReNameFolder(Guid id, string name);
        Folder CreateFolder(Guid parentID, string name, string userID);
        void ReNameFile(Guid id, string name);

        void DeleteFolder(Guid id);
        void DeleteFile(Guid id);

        SharedFolder GetShareFolder(Guid id);
        void ShareFolder(Guid id, string password, Util.ShareRole role);
    }
}
